﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RuyeeModbus.Device
{
    /// <summary>
    /// 内部存储器或物理输出存储器
    /// </summary>
    public class HoldingRegisters : IDevice
    {
        UInt16 _Address;

        public UInt16 Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        UInt16 _DataValue;

        public UInt16 DataValue
        {
            get { return _DataValue; }
            set { _DataValue = value; }
        }

        public DeviceType TypeOfDevice
        {
            get { return DeviceType.HoldingRegisters }
        }
    }
}
